<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>
<body>
    <div id="box">
        <button @click="handleClick()">axios</button>
    </div>

    <script type="text/javascript"> 
        new Vue ({
            el:"#box",
            data: {
               
            },
            methods: {
               handleClick(){
                   axios.get("https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js").then(res =>{
                       console.log(res.data)
                   } )
               }
            }
        })

        /* 
        
        axios.post("https:/xxxxxxx", "name = kerwin&age= 100").then(res =>{})

        axios.post("https:/xxxxxx", { 
            name:"kerwin", 
            age:100
        }).then(res => {})
        
        
        
        */

    </script>
</body>
</html>